<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Client</title>
</head>
<body>
  <script src="http://localhost:8082/js/test.js"></script>
  <script>
    window.onerror = function(err) {
      console.log(err);
    }
  </script>
</body>
</html>